<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>spi: XSpi Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">spi
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('struct_x_spi.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">XSpi Struct Reference<div class="ingroups"><a class="el" href="group__spi__v4__1.html">Spi_v4_1</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>The <a class="el" href="struct_x_spi.html" title="The XSpi driver instance data. ">XSpi</a> driver instance data.  
 <a href="struct_x_spi.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a63d1a1254869f2599e4646388cec0c4c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_spi___stats.html">XSpi_Stats</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_spi.html#a63d1a1254869f2599e4646388cec0c4c">Stats</a></td></tr>
<tr class="memdesc:a63d1a1254869f2599e4646388cec0c4c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Statistics.  <a href="#a63d1a1254869f2599e4646388cec0c4c">More...</a><br /></td></tr>
<tr class="separator:a63d1a1254869f2599e4646388cec0c4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0669158439f14d3a15ab49795b7139f"><td class="memItemLeft" align="right" valign="top">UINTPTR&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_spi.html#aa0669158439f14d3a15ab49795b7139f">BaseAddr</a></td></tr>
<tr class="memdesc:aa0669158439f14d3a15ab49795b7139f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Base address of device (IPIF)  <a href="#aa0669158439f14d3a15ab49795b7139f">More...</a><br /></td></tr>
<tr class="separator:aa0669158439f14d3a15ab49795b7139f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19847c6916d3d7a325a2cebab966018a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_spi.html#a19847c6916d3d7a325a2cebab966018a">IsReady</a></td></tr>
<tr class="memdesc:a19847c6916d3d7a325a2cebab966018a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Device is initialized and ready.  <a href="#a19847c6916d3d7a325a2cebab966018a">More...</a><br /></td></tr>
<tr class="separator:a19847c6916d3d7a325a2cebab966018a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71a59342f02363d57536aeefd2aa7a3f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_spi.html#a71a59342f02363d57536aeefd2aa7a3f">IsStarted</a></td></tr>
<tr class="memdesc:a71a59342f02363d57536aeefd2aa7a3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Device has been started.  <a href="#a71a59342f02363d57536aeefd2aa7a3f">More...</a><br /></td></tr>
<tr class="separator:a71a59342f02363d57536aeefd2aa7a3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67a6dd9a95f3bef8199dc0186dfb039a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_spi.html#a67a6dd9a95f3bef8199dc0186dfb039a">HasFifos</a></td></tr>
<tr class="memdesc:a67a6dd9a95f3bef8199dc0186dfb039a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Device is configured with FIFOs or not.  <a href="#a67a6dd9a95f3bef8199dc0186dfb039a">More...</a><br /></td></tr>
<tr class="separator:a67a6dd9a95f3bef8199dc0186dfb039a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a282ea84ad4ceb9e950bb91b66231780b"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_spi.html#a282ea84ad4ceb9e950bb91b66231780b">SlaveOnly</a></td></tr>
<tr class="memdesc:a282ea84ad4ceb9e950bb91b66231780b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Device is configured to be slave only.  <a href="#a282ea84ad4ceb9e950bb91b66231780b">More...</a><br /></td></tr>
<tr class="separator:a282ea84ad4ceb9e950bb91b66231780b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2896a95a00faec5cee34d83093ffb3f"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_spi.html#ab2896a95a00faec5cee34d83093ffb3f">NumSlaveBits</a></td></tr>
<tr class="memdesc:ab2896a95a00faec5cee34d83093ffb3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of slave selects for this device.  <a href="#ab2896a95a00faec5cee34d83093ffb3f">More...</a><br /></td></tr>
<tr class="separator:ab2896a95a00faec5cee34d83093ffb3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac3d52799cee844afec78ffc203c4b20"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_spi.html#aac3d52799cee844afec78ffc203c4b20">DataWidth</a></td></tr>
<tr class="memdesc:aac3d52799cee844afec78ffc203c4b20"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data Transfer Width 8 or 16 or 32.  <a href="#aac3d52799cee844afec78ffc203c4b20">More...</a><br /></td></tr>
<tr class="separator:aac3d52799cee844afec78ffc203c4b20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9816437229050cd78cb29c4f762228b7"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_spi.html#a9816437229050cd78cb29c4f762228b7">SpiMode</a></td></tr>
<tr class="memdesc:a9816437229050cd78cb29c4f762228b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Standard/Dual/Quad mode.  <a href="#a9816437229050cd78cb29c4f762228b7">More...</a><br /></td></tr>
<tr class="separator:a9816437229050cd78cb29c4f762228b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ba738ff1f34e3e5af78c7437df1073f"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_spi.html#a0ba738ff1f34e3e5af78c7437df1073f">SlaveSelectMask</a></td></tr>
<tr class="memdesc:a0ba738ff1f34e3e5af78c7437df1073f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Mask that matches the number of SS bits.  <a href="#a0ba738ff1f34e3e5af78c7437df1073f">More...</a><br /></td></tr>
<tr class="separator:a0ba738ff1f34e3e5af78c7437df1073f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4dda79fe6ae8a3536b0aaaa62be0d8b5"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_spi.html#a4dda79fe6ae8a3536b0aaaa62be0d8b5">SlaveSelectReg</a></td></tr>
<tr class="memdesc:a4dda79fe6ae8a3536b0aaaa62be0d8b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Slave select register.  <a href="#a4dda79fe6ae8a3536b0aaaa62be0d8b5">More...</a><br /></td></tr>
<tr class="separator:a4dda79fe6ae8a3536b0aaaa62be0d8b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af85c6077464bc0877fe6334564b9430c"><td class="memItemLeft" align="right" valign="top">u8 *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_spi.html#af85c6077464bc0877fe6334564b9430c">SendBufferPtr</a></td></tr>
<tr class="memdesc:af85c6077464bc0877fe6334564b9430c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Buffer to send.  <a href="#af85c6077464bc0877fe6334564b9430c">More...</a><br /></td></tr>
<tr class="separator:af85c6077464bc0877fe6334564b9430c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc5a98e31ed6927b50d6bff4c87f5bb9"><td class="memItemLeft" align="right" valign="top">u8 *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_spi.html#acc5a98e31ed6927b50d6bff4c87f5bb9">RecvBufferPtr</a></td></tr>
<tr class="memdesc:acc5a98e31ed6927b50d6bff4c87f5bb9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Buffer to receive.  <a href="#acc5a98e31ed6927b50d6bff4c87f5bb9">More...</a><br /></td></tr>
<tr class="separator:acc5a98e31ed6927b50d6bff4c87f5bb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f78cff15e7571d1db3630834d376877"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_spi.html#a1f78cff15e7571d1db3630834d376877">RequestedBytes</a></td></tr>
<tr class="memdesc:a1f78cff15e7571d1db3630834d376877"><td class="mdescLeft">&#160;</td><td class="mdescRight">Total bytes to transfer (state)  <a href="#a1f78cff15e7571d1db3630834d376877">More...</a><br /></td></tr>
<tr class="separator:a1f78cff15e7571d1db3630834d376877"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a883553e7813c71d61fc1f84de68d9bf4"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_spi.html#a883553e7813c71d61fc1f84de68d9bf4">RemainingBytes</a></td></tr>
<tr class="memdesc:a883553e7813c71d61fc1f84de68d9bf4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bytes left to transfer (state)  <a href="#a883553e7813c71d61fc1f84de68d9bf4">More...</a><br /></td></tr>
<tr class="separator:a883553e7813c71d61fc1f84de68d9bf4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35871d4554b45a9078edfabb763cc1a5"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_spi.html#a35871d4554b45a9078edfabb763cc1a5">IsBusy</a></td></tr>
<tr class="memdesc:a35871d4554b45a9078edfabb763cc1a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">A transfer is in progress (state)  <a href="#a35871d4554b45a9078edfabb763cc1a5">More...</a><br /></td></tr>
<tr class="separator:a35871d4554b45a9078edfabb763cc1a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a032c4db15af79e91cc2fcf564dea1b55"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__spi__v4__1.html#ga07ccc0ae5e77f261e02c22b8275c43c8">XSpi_StatusHandler</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_spi.html#a032c4db15af79e91cc2fcf564dea1b55">StatusHandler</a></td></tr>
<tr class="memdesc:a032c4db15af79e91cc2fcf564dea1b55"><td class="mdescLeft">&#160;</td><td class="mdescRight">Status Handler.  <a href="#a032c4db15af79e91cc2fcf564dea1b55">More...</a><br /></td></tr>
<tr class="separator:a032c4db15af79e91cc2fcf564dea1b55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4075b1e4be099fe87f575b777628a78"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_spi.html#aa4075b1e4be099fe87f575b777628a78">StatusRef</a></td></tr>
<tr class="memdesc:aa4075b1e4be099fe87f575b777628a78"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback reference for status handler.  <a href="#aa4075b1e4be099fe87f575b777628a78">More...</a><br /></td></tr>
<tr class="separator:aa4075b1e4be099fe87f575b777628a78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afcb2a94604b619e207e5590328c3531e"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_spi.html#afcb2a94604b619e207e5590328c3531e">FlashBaseAddr</a></td></tr>
<tr class="memdesc:afcb2a94604b619e207e5590328c3531e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used in XIP Mode.  <a href="#afcb2a94604b619e207e5590328c3531e">More...</a><br /></td></tr>
<tr class="separator:afcb2a94604b619e207e5590328c3531e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36bd7deea43721717288da63415e8fdd"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_spi.html#a36bd7deea43721717288da63415e8fdd">XipMode</a></td></tr>
<tr class="memdesc:a36bd7deea43721717288da63415e8fdd"><td class="mdescLeft">&#160;</td><td class="mdescRight">0 if Non-XIP, 1 if XIP Mode  <a href="#a36bd7deea43721717288da63415e8fdd">More...</a><br /></td></tr>
<tr class="separator:a36bd7deea43721717288da63415e8fdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="struct_x_spi.html" title="The XSpi driver instance data. ">XSpi</a> driver instance data. </p>
<p>The user is required to allocate a variable of this type for every SPI device in the system. A pointer to a variable of this type is then passed to the driver API functions. </p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="aa0669158439f14d3a15ab49795b7139f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0669158439f14d3a15ab49795b7139f">&#9670;&nbsp;</a></span>BaseAddr</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">UINTPTR XSpi::BaseAddr</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Base address of device (IPIF) </p>

<p class="reference">Referenced by <a class="el" href="group__spi__v4__1.html#gaf3863f11d27469d8797424319601c980">XSpi_InterruptHandler()</a>, <a class="el" href="group__spi__v4__1.html#ga343938fcdf672bec329d876a146178cd">XSpi_Reset()</a>, and <a class="el" href="group__spi__v4__1.html#ga4c44c082ef2d2b9cf4ba3db8bcebd954">XSpi_Transfer()</a>.</p>

</div>
</div>
<a id="aac3d52799cee844afec78ffc203c4b20"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac3d52799cee844afec78ffc203c4b20">&#9670;&nbsp;</a></span>DataWidth</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XSpi::DataWidth</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Data Transfer Width 8 or 16 or 32. </p>

<p class="reference">Referenced by <a class="el" href="group__spi__v4__1.html#gaf3863f11d27469d8797424319601c980">XSpi_InterruptHandler()</a>, and <a class="el" href="group__spi__v4__1.html#ga4c44c082ef2d2b9cf4ba3db8bcebd954">XSpi_Transfer()</a>.</p>

</div>
</div>
<a id="afcb2a94604b619e207e5590328c3531e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afcb2a94604b619e207e5590328c3531e">&#9670;&nbsp;</a></span>FlashBaseAddr</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XSpi::FlashBaseAddr</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Used in XIP Mode. </p>

</div>
</div>
<a id="a67a6dd9a95f3bef8199dc0186dfb039a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a67a6dd9a95f3bef8199dc0186dfb039a">&#9670;&nbsp;</a></span>HasFifos</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XSpi::HasFifos</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Device is configured with FIFOs or not. </p>

<p class="reference">Referenced by <a class="el" href="group__spi__v4__1.html#ga44a2dc795761b35ed0ebdd6989675022">XSpi_Abort()</a>.</p>

</div>
</div>
<a id="a35871d4554b45a9078edfabb763cc1a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a35871d4554b45a9078edfabb763cc1a5">&#9670;&nbsp;</a></span>IsBusy</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XSpi::IsBusy</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A transfer is in progress (state) </p>

<p class="reference">Referenced by <a class="el" href="group__spi__v4__1.html#ga44a2dc795761b35ed0ebdd6989675022">XSpi_Abort()</a>, <a class="el" href="group__spi__v4__1.html#gaf3863f11d27469d8797424319601c980">XSpi_InterruptHandler()</a>, <a class="el" href="group__spi__v4__1.html#ga67c2076b133a55b6f80343642a1ace41">XSpi_SetOptions()</a>, <a class="el" href="group__spi__v4__1.html#ga162523a3e9b29f063701db303ac8cf17">XSpi_SetSlaveSelect()</a>, <a class="el" href="group__spi__v4__1.html#gad4bb67cfcfe73844ffb1917b11d5284c">XSpi_Stop()</a>, and <a class="el" href="group__spi__v4__1.html#ga4c44c082ef2d2b9cf4ba3db8bcebd954">XSpi_Transfer()</a>.</p>

</div>
</div>
<a id="a19847c6916d3d7a325a2cebab966018a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a19847c6916d3d7a325a2cebab966018a">&#9670;&nbsp;</a></span>IsReady</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XSpi::IsReady</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Device is initialized and ready. </p>

<p class="reference">Referenced by <a class="el" href="group__spi__v4__1.html#gaf243ac522e14869af82545ffc11d5821">XSpi_ClearStats()</a>, <a class="el" href="group__spi__v4__1.html#gaf55cfd2072ed2047c0fe0b65bd0fcf6a">XSpi_GetOptions()</a>, <a class="el" href="group__spi__v4__1.html#ga8043891b8f68a3291bd035be74aa6b94">XSpi_GetSlaveSelect()</a>, <a class="el" href="group__spi__v4__1.html#ga8a40aee30eb6f0240b75e6ccd7596a53">XSpi_GetStats()</a>, <a class="el" href="group__spi__v4__1.html#ga343938fcdf672bec329d876a146178cd">XSpi_Reset()</a>, <a class="el" href="group__spi__v4__1.html#ga11b6ebdb6f69c6939176e05600b10e3e">XSpi_SelfTest()</a>, <a class="el" href="group__spi__v4__1.html#ga67c2076b133a55b6f80343642a1ace41">XSpi_SetOptions()</a>, <a class="el" href="group__spi__v4__1.html#ga162523a3e9b29f063701db303ac8cf17">XSpi_SetSlaveSelect()</a>, <a class="el" href="group__spi__v4__1.html#gabc09f4d503de2a772e5079ac46fc62b6">XSpi_SetStatusHandler()</a>, <a class="el" href="group__spi__v4__1.html#ga87fdaad742a2669200c9b2617e5c86ea">XSpi_Start()</a>, <a class="el" href="group__spi__v4__1.html#gad4bb67cfcfe73844ffb1917b11d5284c">XSpi_Stop()</a>, and <a class="el" href="group__spi__v4__1.html#ga4c44c082ef2d2b9cf4ba3db8bcebd954">XSpi_Transfer()</a>.</p>

</div>
</div>
<a id="a71a59342f02363d57536aeefd2aa7a3f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a71a59342f02363d57536aeefd2aa7a3f">&#9670;&nbsp;</a></span>IsStarted</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XSpi::IsStarted</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Device has been started. </p>

<p class="reference">Referenced by <a class="el" href="group__spi__v4__1.html#ga343938fcdf672bec329d876a146178cd">XSpi_Reset()</a>, <a class="el" href="group__spi__v4__1.html#ga87fdaad742a2669200c9b2617e5c86ea">XSpi_Start()</a>, <a class="el" href="group__spi__v4__1.html#gad4bb67cfcfe73844ffb1917b11d5284c">XSpi_Stop()</a>, and <a class="el" href="group__spi__v4__1.html#ga4c44c082ef2d2b9cf4ba3db8bcebd954">XSpi_Transfer()</a>.</p>

</div>
</div>
<a id="ab2896a95a00faec5cee34d83093ffb3f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab2896a95a00faec5cee34d83093ffb3f">&#9670;&nbsp;</a></span>NumSlaveBits</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XSpi::NumSlaveBits</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Number of slave selects for this device. </p>

<p class="reference">Referenced by <a class="el" href="group__spi__v4__1.html#ga162523a3e9b29f063701db303ac8cf17">XSpi_SetSlaveSelect()</a>.</p>

</div>
</div>
<a id="acc5a98e31ed6927b50d6bff4c87f5bb9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc5a98e31ed6927b50d6bff4c87f5bb9">&#9670;&nbsp;</a></span>RecvBufferPtr</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8* XSpi::RecvBufferPtr</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Buffer to receive. </p>

<p class="reference">Referenced by <a class="el" href="group__spi__v4__1.html#gaf3863f11d27469d8797424319601c980">XSpi_InterruptHandler()</a>, and <a class="el" href="group__spi__v4__1.html#ga4c44c082ef2d2b9cf4ba3db8bcebd954">XSpi_Transfer()</a>.</p>

</div>
</div>
<a id="a883553e7813c71d61fc1f84de68d9bf4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a883553e7813c71d61fc1f84de68d9bf4">&#9670;&nbsp;</a></span>RemainingBytes</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int XSpi::RemainingBytes</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Bytes left to transfer (state) </p>

<p class="reference">Referenced by <a class="el" href="group__spi__v4__1.html#ga44a2dc795761b35ed0ebdd6989675022">XSpi_Abort()</a>, <a class="el" href="group__spi__v4__1.html#gaf3863f11d27469d8797424319601c980">XSpi_InterruptHandler()</a>, and <a class="el" href="group__spi__v4__1.html#ga4c44c082ef2d2b9cf4ba3db8bcebd954">XSpi_Transfer()</a>.</p>

</div>
</div>
<a id="a1f78cff15e7571d1db3630834d376877"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f78cff15e7571d1db3630834d376877">&#9670;&nbsp;</a></span>RequestedBytes</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int XSpi::RequestedBytes</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Total bytes to transfer (state) </p>

<p class="reference">Referenced by <a class="el" href="group__spi__v4__1.html#ga44a2dc795761b35ed0ebdd6989675022">XSpi_Abort()</a>, <a class="el" href="group__spi__v4__1.html#gaf3863f11d27469d8797424319601c980">XSpi_InterruptHandler()</a>, and <a class="el" href="group__spi__v4__1.html#ga4c44c082ef2d2b9cf4ba3db8bcebd954">XSpi_Transfer()</a>.</p>

</div>
</div>
<a id="af85c6077464bc0877fe6334564b9430c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af85c6077464bc0877fe6334564b9430c">&#9670;&nbsp;</a></span>SendBufferPtr</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8* XSpi::SendBufferPtr</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Buffer to send. </p>

<p class="reference">Referenced by <a class="el" href="group__spi__v4__1.html#gaf3863f11d27469d8797424319601c980">XSpi_InterruptHandler()</a>, and <a class="el" href="group__spi__v4__1.html#ga4c44c082ef2d2b9cf4ba3db8bcebd954">XSpi_Transfer()</a>.</p>

</div>
</div>
<a id="a282ea84ad4ceb9e950bb91b66231780b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a282ea84ad4ceb9e950bb91b66231780b">&#9670;&nbsp;</a></span>SlaveOnly</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XSpi::SlaveOnly</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Device is configured to be slave only. </p>

<p class="reference">Referenced by <a class="el" href="group__spi__v4__1.html#ga67c2076b133a55b6f80343642a1ace41">XSpi_SetOptions()</a>.</p>

</div>
</div>
<a id="a0ba738ff1f34e3e5af78c7437df1073f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ba738ff1f34e3e5af78c7437df1073f">&#9670;&nbsp;</a></span>SlaveSelectMask</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XSpi::SlaveSelectMask</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Mask that matches the number of SS bits. </p>

<p class="reference">Referenced by <a class="el" href="group__spi__v4__1.html#ga44a2dc795761b35ed0ebdd6989675022">XSpi_Abort()</a>, <a class="el" href="group__spi__v4__1.html#gaf3863f11d27469d8797424319601c980">XSpi_InterruptHandler()</a>, <a class="el" href="group__spi__v4__1.html#ga343938fcdf672bec329d876a146178cd">XSpi_Reset()</a>, and <a class="el" href="group__spi__v4__1.html#ga4c44c082ef2d2b9cf4ba3db8bcebd954">XSpi_Transfer()</a>.</p>

</div>
</div>
<a id="a4dda79fe6ae8a3536b0aaaa62be0d8b5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4dda79fe6ae8a3536b0aaaa62be0d8b5">&#9670;&nbsp;</a></span>SlaveSelectReg</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XSpi::SlaveSelectReg</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Slave select register. </p>

<p class="reference">Referenced by <a class="el" href="group__spi__v4__1.html#ga8043891b8f68a3291bd035be74aa6b94">XSpi_GetSlaveSelect()</a>, <a class="el" href="group__spi__v4__1.html#ga343938fcdf672bec329d876a146178cd">XSpi_Reset()</a>, <a class="el" href="group__spi__v4__1.html#ga162523a3e9b29f063701db303ac8cf17">XSpi_SetSlaveSelect()</a>, and <a class="el" href="group__spi__v4__1.html#ga4c44c082ef2d2b9cf4ba3db8bcebd954">XSpi_Transfer()</a>.</p>

</div>
</div>
<a id="a9816437229050cd78cb29c4f762228b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9816437229050cd78cb29c4f762228b7">&#9670;&nbsp;</a></span>SpiMode</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XSpi::SpiMode</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Standard/Dual/Quad mode. </p>

</div>
</div>
<a id="a63d1a1254869f2599e4646388cec0c4c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63d1a1254869f2599e4646388cec0c4c">&#9670;&nbsp;</a></span>Stats</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_spi___stats.html">XSpi_Stats</a> XSpi::Stats</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Statistics. </p>

<p class="reference">Referenced by <a class="el" href="group__spi__v4__1.html#gaf243ac522e14869af82545ffc11d5821">XSpi_ClearStats()</a>, <a class="el" href="group__spi__v4__1.html#ga8a40aee30eb6f0240b75e6ccd7596a53">XSpi_GetStats()</a>, <a class="el" href="group__spi__v4__1.html#gaf3863f11d27469d8797424319601c980">XSpi_InterruptHandler()</a>, and <a class="el" href="group__spi__v4__1.html#ga4c44c082ef2d2b9cf4ba3db8bcebd954">XSpi_Transfer()</a>.</p>

</div>
</div>
<a id="a032c4db15af79e91cc2fcf564dea1b55"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a032c4db15af79e91cc2fcf564dea1b55">&#9670;&nbsp;</a></span>StatusHandler</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__spi__v4__1.html#ga07ccc0ae5e77f261e02c22b8275c43c8">XSpi_StatusHandler</a> XSpi::StatusHandler</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Status Handler. </p>

<p class="reference">Referenced by <a class="el" href="group__spi__v4__1.html#gaf3863f11d27469d8797424319601c980">XSpi_InterruptHandler()</a>, and <a class="el" href="group__spi__v4__1.html#gabc09f4d503de2a772e5079ac46fc62b6">XSpi_SetStatusHandler()</a>.</p>

</div>
</div>
<a id="aa4075b1e4be099fe87f575b777628a78"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa4075b1e4be099fe87f575b777628a78">&#9670;&nbsp;</a></span>StatusRef</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* XSpi::StatusRef</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Callback reference for status handler. </p>

<p class="reference">Referenced by <a class="el" href="group__spi__v4__1.html#gaf3863f11d27469d8797424319601c980">XSpi_InterruptHandler()</a>, and <a class="el" href="group__spi__v4__1.html#gabc09f4d503de2a772e5079ac46fc62b6">XSpi_SetStatusHandler()</a>.</p>

</div>
</div>
<a id="a36bd7deea43721717288da63415e8fdd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a36bd7deea43721717288da63415e8fdd">&#9670;&nbsp;</a></span>XipMode</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XSpi::XipMode</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>0 if Non-XIP, 1 if XIP Mode </p>

<p class="reference">Referenced by <a class="el" href="group__spi__v4__1.html#ga11b6ebdb6f69c6939176e05600b10e3e">XSpi_SelfTest()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
